package com.baidu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description:  启动类
 * @Author: 李亚丹
 * @Date: 2021/12/16
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.baidu.mapper")
@EnableScheduling //开启定时器
public class LoansApplication {
    public static void main (String[] args) {
        SpringApplication.run(LoansApplication.class, args);
    }
}
